<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <script>
        let obj = {
            name: "张三",
            age: 22,
        }

        let a = obj
        let b = structuredClone(obj)
        let c = JSON.parse(JSON.stringify(obj))
        obj.name = "李四"
        console.log(a);
        

    </script>
</body>

</html>